package com.peaker.advertisingpro.db.dao

import androidx.room.*
import com.peaker.advertisingpro.bean.ProgramJsonBean
import com.peaker.advertisingpro.bean.ProgramUrlBean
import com.peaker.advertisingpro.bean.VolumeSet

/**
 * 音量计划
 */
@Dao
interface VolumePlanDao : BaseDao<VolumeSet> {

    @Query("SELECT * FROM volumedb")
    fun getAllVolumePlan(): MutableList<VolumeSet>


    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun insert(entitie: VolumeSet?)



    @Delete
    fun delete(entity: VolumeSet?)

    @Query("DELETE FROM volumedb")
    fun deletAll()

}